package org.csu.jpetstore_users_backend_pj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("item")
public class Item {
    @TableId(value = "itemid")
    private String itemId;
    @TableField(value = "productid")
    private String productId;
    @TableField(value = "listprice")
    private BigDecimal listPrice;
    @TableField(value = "unitcost")
    private BigDecimal unitCost;
    @TableField(value = "supplierid")
    private int supplierId;
    private String status;
    @TableField(value = "attribute1")
    private String attribute1;
    @TableField(value = "img")
    private String img;
}
